class Student:
    def __init__(self, name, age,student_id):
        self.name = name
        self.age = age
        self.student_id = student_id
        self.grades = {}
    def add_grade(self, kemu,grade):
        self.grades[kemu] = grade
    def get_grade(self):
        print(f"学号：{self.student_id}，姓名：{self.name}的各科目成绩是")
        for k,v in self.grades.items():
            print(f"{k},{v}")
cuihua = Student("翠花",16,2025010101)
cuihua.add_grade("数学",100)
cuihua.add_grade("英语",90)
cuihua.add_grade("语文",80)
cuihua.get_grade()